using System;
using System.Web.Security;
using System.Web.UI;
using System.Web.Core;

namespace Forum.Business
{
    public class Logout : ForumUserControl
    {
        protected override void OnLoad(EventArgs e)
        {
            MemberManager.Logout();
            Response.Redirect(FormsAuthentication.DefaultUrl);
        }
    }
}